import { createApp } from "vue";
import App from "./App.vue";
import router from "./router/index.js";
import axios from "axios";
import Antd from "ant-design-vue";
import "ant-design-vue/dist/antd.css";
import store from "./store/index.js";
import "jquery";

const app = createApp(App);

app.config.globalProperties.$axios = axios;
axios.defaults.baseURL = "/api";
axios.defaults.headers.post["Content-Type"] = "application/json";

app.use(Antd);

app.use(router);
app.use(store);
app.mount("#app");
